<div class="ibox">
	<div class="ibox-content">
		<form class="form-horizontal">
			<div class="form-group">
				<label for="namebasic" class="col-md-2 control-label">${_res["stationMessage.messageTitle"]}</label>
				<div class="col-md-8"><p class="form-control-static">${stationMessage.title!}</p></div>
			</div>
			<div class="hr-line-dashed"></div>
			
			<div class="form-group">

				<label for="namebasic" class="col-md-2 control-label">${_res["stationMessage.sendObject"]}</label>
				<div class="col-md-8">
					<#dict type="lable" value="${stationMessage.sendobject!}" table="customer_role" filedName="name" filedValue="id" />
				</div>
			</div>
			<div class="hr-line-dashed"></div>			

			<div class="form-group">
				<label for="namebasic" class="col-md-2 control-label">${_res["stationMessage.sendTime"]}</label>
				<div class="col-md-3">
					<p class="form-control-static">${stationMessage.sendtime!,dateFormat="yyyy-MM-dd HH:mm"}</p>
				</div>

				<label class="col-sm-2 control-label">${_res["stationMessage.state"]}</label>
				<div class="col-sm-3">
					<#dict type="select" dictCode="SEND_STATUS" value="${stationMessage.status!}" disabled="disabled" />
				</div>
			</div>
			<div class="hr-line-dashed"></div>

			<label>${_res["stationMessage.content"]}<span class="fontColorRed">&nbsp;*</span></label>
			<script id="container" name="article.content" type="text/plain" style="width:100%; min-height:500px !important">
				${stationMessage.content!}
			</script>

			<div class="hr-line-dashed"></div>

			<div class="form-group">
				<div class="row">
					<div class="col-md-10 col-md-offset-2">
							<button type="button" class="btn btn-warning" onClick="ajaxContent('/cms/stationMessage/list')">${_res["system.return"]}</button>
					</div>
				</div>
			</div>
		</form>
	</div>
</div>
<#nav />

<script>
	/*加载富文本输入框*/
	var editor = new UE.ui.Editor();  
	editor.render("container");
	//判断ueditor 编辑器是否创建成功
	editor.addListener("ready", function () {
		// editor准备好之后才可以使用
		editor.setDisabled();
	});
</script>